package cn.hwadee.muying.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import cn.hwadee.muying.commons.base.BaseModel;

/**
 * <p>
 * 咨询
 * </p>
 *
 * @author Mankind
 * @since 2018-08-13
 */
public class Consult extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableField("user_id")
    private Long userId;
    /**
     * 地址
     */
        
    private String address;
    /**
     * 电话
     */
        
    private String telephone;

    @TableField(exist = false)
    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public static final String USER_ID = "user_id";

    public static final String ADDRESS = "address";

    public static final String TELEPHONE = "telephone";

    @Override
    public String toString() {
        return "Consult{" +
                ", userId=" + userId +
                ", address=" + address +
                ", telephone=" + telephone +
        "}";
    }
}
